import 'package:fijkplayer/fijkplayer.dart';
import 'package:flutter/material.dart';

class SuccessView extends StatelessWidget {
  final FijkPlayer player;

  const SuccessView(this.player, {Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    //返回播放器
    return FijkView(
      onDispose: (data) {},
      color: Colors.black,
      panelBuilder: (player, data, context, viewSize, texturePos) {
        return Container();
      },
      player: player,
    );
  }
}
